					<?php if(isset($message)): ?>
						<?= $message; ?>
					<?php endif; ?>
					<form method="post" action="<?= ACCOUNTURL?>/editaccountinfo" method="post">
  <table width="100%" cellpadding="8" cellspacing="8">
                        
							<tr>
							  <td colspan="2" align="left" style="color:#fff;"><div class="barnavInner" style="width:640px;">Account Information</div></td>
							  <td width="3%">&nbsp;</td>
						  </tr>
							<tr>
							  <td height="51" align="left" valign="top"><p style="padding-left:30px;"><strong>Your Personal Details</strong></p></td>
							  <td>&nbsp;</td>
							  <td>&nbsp;</td>
						  </tr>
							<tr>
								<td width="34%" align="right">Username :</td>
								<td width="63%"><input type="text" name="username" value="<?= $currentUser->username ?>" /></td>
								<td><?= form_error('username')?></td>
							</tr>
							
							<tr>
								<td align="right">Firstname :</td>
								<td><input type="text" name="firstname" value="<?= $currentUser->firstname ?>" /></td>
								<td><?= form_error('firstname')?></td>			
							</tr>		
					
							<tr>
								<td align="right">Middlename :</td>
								<td><input type="text" name="middlename" value="<?= $currentUser->middlename ?>" /></td>
							</tr>
							
							<tr>
								<td align="right">Lastname :</td>
								<td><input type="text" name="lastname" value="<?= $currentUser->lastname ?>" /></td>
								<td><?= form_error('lastname')?></td>			
							</tr>
							
							<tr>
								<td align="right">Email :</td>
								<td><input type="text" name="email" value="<?= $currentUser->email ?>" /></td>
								<td><?= form_error('email')?></td>
							</tr>		
							
							<tr>
								<td align="right">Address :</td>
								<td><textarea name="address"><?= $currentUser->address ?></textarea>
								<td><?= form_error('address')?></td>
							</tr>
							
							<tr>
                            	<td></td>
								<td colspan="2"><input type="submit" value="Submit" class="btn" /></td>
							</tr>
						</table>
					</form>